sit through a class

Translations
просидеть на занятии
I could hardly keep my eyes open but managed to sit through the class.
Я едва мог держать глаза открытыми, но все-таки просидел на занятии.